package cn.com.dhc.danlu.activity.delivery;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import cn.com.dhc.danlu.R;
import cn.com.dhc.danlu.activity.BaseActivity;
import cn.com.dhc.danlu.util.CommonConst;

/**
 * 买家留言
 *
 * @author wzf
 */
public class DeliveryBuyerLeaveWordsActivity extends BaseActivity {

    @SuppressLint("SetTextI18n")
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        getDelegate().setContentView(R.layout.layout_delivery_detail_buyer_words, R.layout_delivery_order_detail_words.class);
        setContentView(R.layout.activity_delivery_buyer_leave_words);


        findViewById(R.id.llytBack).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        // 获取买家留言
        String buyerWords = getIntent().getStringExtra(CommonConst.MyOrderDetailConst.ORDER_DETAIL);
        TextView txtBuyerWords = (TextView) findViewById(R.id.txtBuyerWords);
        txtBuyerWords.setText("        " + buyerWords);
    }

    @Override
    protected String getActivityTitle() {
        return null;
    }
}